﻿@using Company.Project.Domain.Model
@{
    ViewBag.Title = "微信公众号设置";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
@model Project_SYS_WeChatSetting

<div class="modal-content">
    <form class="form-horizontal" id="formDetail" role="form">
        <div class="modal-header">
            <h3 class="smaller lighter blue no-margin">微信基本设置</h3>
        </div>

        <div class="modal-body">
            @Html.HiddenFor(x => x.ID)
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">公众号名称</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="WeChatName" name="WeChatName" required maxlength="60" value="@Model.WeChatName" placeholder="请输入公众号名称" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">公众号原始ID</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="WxChat_gID" name="WxChat_gID" required maxlength="50" value="@Model.WxChat_gID" placeholder="请输入公众号原始ID" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">微信Token</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="Token" name="Token" required maxlength="50" value="@Model.Token" placeholder="请输入微信Token" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">微信绑定Url</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="BindUrl" name="BindUrl" required  maxlength="200" value="@Model.BindUrl" placeholder="请输入微信绑定Url" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">AppID</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="AppID" name="AppID" required maxlength="50" value="@Model.AppID" placeholder="请输入AppID" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">AppSecret</label>
                <div class="col-sm-9">
                    <div class="clearfix">
                        <input type="text" id="AppSecret" name="AppSecret" maxlength="50" required value="@Model.AppSecret" placeholder="请输入AppSecret" class="col-xs-10 col-sm-5">
                    </div>
                </div>
            </div>
        </div>

        <div class="modal-footer">
            <a class="btn btn-sm btn-success pull-right" id="saveBtn">
                <i class="ace-icon fa fa-check"></i>
                保存
            </a>
        </div>
    </form>
</div>
<script src="~/Areas/Admin/js/System/WeChatSettingDetail.js"></script>